import axios from "axios"

function getShopList(query){
    return axios.get('/shop/list',{params:query})
}
function getShopDetail(id){
    return axios.get('/shop/detail/'+id)
}

export default {
    getShopList,
    getShopDetail
}